﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ShoppingCart.aspx.cs"
    Inherits="V5_EShop._Template.Default.product_shoppingcart" %>
<%@ Import Namespace="V5_Common" %>
<%@ Register Src="Controls/getHeader2.ascx" TagName="getHeader2" TagPrefix="mm" %>
<%@ Register Src="Controls/getFooter.ascx" TagName="getFooter" TagPrefix="mm" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="/<%=TemplatePath %>/css/init.css" />
<link rel="stylesheet" type="text/css" href="/<%=TemplatePath %>/css/head.css" />
<link rel="stylesheet" type="text/css" href="/<%=TemplatePath %>/css/Detail_cart.css" />
<title><%=config.SiteTitle %>-购物车</title>
<script type="text/javascript" src="Scripts/jquery_min.js"></script>
<script type="text/javascript" src="Scripts/common.js"></script>
<script src="/<%=TemplatePath %>/Scripts/khd_order.js" type="text/javascript"></script>
</head>
<body>
<form id="form1" runat="server">
  <div id="page">
    <mm:getHeader2 ID="getHeader2" runat="server" />
    <div class="clear"> </div>
    <div class="content">
      <div class="logo"> <img src="/<%=TemplatePath %>/images/Detail_cart/LOGO.gif" width="200"
                    height="51"></div>
      <div class="Process">
        <ul>
          <li class="li_01"><span>1.购物车</span></li>
          <li> <img src="/<%=TemplatePath %>/images/Detail_cart/Arrow.gif" width="20"
                            height="16"></li>
          <li class="li_02">2、确认订单信息</li>
          <li> <img src="/<%=TemplatePath %>/images/Detail_cart/Arrow.gif" width="20"
                            height="16"></li>
          <li class="li_02">3、订购成功</li>
        </ul>
      </div>
      <div class="clear"> </div>
      <!--购物车数据显示-->
      <div class="Merchandise"> <span class="Exspan02">所有商品免费送货,预计24-96小时内送达</span>
        <ul class="Classification">
          <li class="Class_01">商品</li>
          <li class="Class_02">商品名称</li>
          <li class="Class_03">规格</li>
          <li class="Class_03">赠送积分</li>
          <li class="Class_03">单价</li>
          <li class="Class_03">数量</li>
          <li class="Class_03">优惠</li>
          <li class="Class_03">小计</li>
          <li class="Class_03">操作</li>
          <div class="clear"> </div>
        </ul>
        <asp:Repeater ID="rpShoppingcartList" runat="server">
          <ItemTemplate>
            <ul class="Data">
              <li class="Class_01_01"><a href="product-details-<%# DataBinder.Eval(Container.DataItem,"pid")%>.<%=config.UrlRewrite %>"
                                target="_blank"> <img src="<%# Helper.Replace(DataBinder.Eval(Container.DataItem,"propic").ToString(),"productm","products") %>"
                                    width="70" height="85"></a></li>
              <li class="Class_02_01"><a href="product-details-<%# DataBinder.Eval(Container.DataItem,"pid")%>.<%=config.UrlRewrite %>"
                                target="_blank"> <%#DataBinder.Eval(Container.DataItem, "proname")%></a></li>
              <li class="Class_03_01"> <%#DataBinder.Eval(Container.DataItem, "profieldvalues")%></li>
              <li class="Class_03_01"> <span id="singleScore<%# DataBinder.Eval(Container.DataItem,"pid")%>"> <%#DataBinder.Eval(Container.DataItem, "proscore")%> </span> 分</li>
              <li class="Class_03_01"> <%#DataBinder.Eval(Container.DataItem, "promemberprice")%>元</li>
              <li class="Class_03_01">
                <input type="text" name="txtquantity" id="txtquantity<%# DataBinder.Eval(Container.DataItem,"pid")%>"
                                    pid="<%# DataBinder.Eval(Container.DataItem,"pid")%>" class="textfield_01" value="<%# DataBinder.Eval(Container.DataItem,"proquantity")%>" />
              </li>
              <li class="Class_03_01">无</li>
              <li class="Class_03_01"><span id="total<%# DataBinder.Eval(Container.DataItem,"pid")%>"> <%# DataBinder.Eval(Container.DataItem, "prototalprice")%></span>元</li>
              <li class="Class_03_01"><a href="?action=del&pid=<%# DataBinder.Eval(Container.DataItem,"pid")%>"> <img src="/<%=TemplatePath %>/images/Detail_cart/sc.jpg" width="16"
                                    height="16"></a></li>
              <div class="clear"> </div>
            </ul>
          </ItemTemplate>
        </asp:Repeater>
        <ul class="Information">
          <li>商品数量总计：<span id="pro_count"><%=shopping_pro_count %>件</span></li>
          <li>赠送积分总计：<span id="pro_score"><%=shopping_pro_score %>分</span></li>
          <%--   <li>花费积分总计：<span>0分</span></li>--%>
          <li class="Information_li">产品金额总计：<span id="price_count"><%=shopping_price_count %>元</span></li>
          <div class="clear"> </div>
        </ul>
        <div class="botton">
          <input type="submit" name="button" id="button" value="" class="botton_01" onclick="window.close();" />
          <asp:Button ID="btnClearShopping" runat="server" Text="" CssClass="botton_02" />
          <input type="button" name="button" id="button" value="" class="botton_03" onclick="javascript:window.location.href='Shopping_Address.aspx'" />
        </div>
      </div>
      <div class="clear"> </div>
      <div class="Ex">
        <div class="Exspan"> <span class="Exspan01">您可以选购一下特惠商品</span> <span class="Exspan02">每张订单只能够选一件特惠，数量有限，赠完为止。</span> </div>
        <ul class="Ex_ul01">
          <li class="Ex_01">商品</li>
          <li class="Ex_02">名称</li>
          <li class="Ex_03">尺码</li>
          <li class="Ex_04">单价</li>
          <li class="Ex_05">操作</li>
          <li class="Ex_06"><a href="../product/Detail.html" target="_blank"> <img src="/<%=TemplatePath %>/images/Detail_cart/pic_02.gif" width="97"
                            height="125"></a></li>
          <li class="Ex_07"><span>请选择特惠品：</span>
            <select name="select" id="select" class="select_01">
              <option>+60元 赠牛津纺衬衫一件</option>
              <option>+60元 赠牛津纺衬衫一件</option>
              <option>+60元 赠牛津纺衬衫一件</option>
            </select>
          </li>
          <li class="Ex_08"><span>请选择尺码：</span>
            <select name="select" id="select" class="select_02">
              <option>号码：M </option>
              <option>号码：L </option>
              <option>号码：X</option>
            </select>
          </li>
          <li class="Ex_09">635元</li>
          <li class="Ex_10"><span class="Again">您再购买5元的产品，即可选购特惠</span>
            <input type="submit" name="button" id="button" value="" class="botton_01" onclick="window.close();" />
          </li>
          <div class="clear"> </div>
        </ul>
      </div>
    </div>
    <mm:getFooter ID="getFooter1" runat="server" />
  </div>
</form>
</body>
</html>
